package com.leyou.sh.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.sh.item.dto.CategoryDTO;
import com.leyou.sh.item.entity.Category;

import java.util.List;
import java.util.Map;

/**
 * @author balisong_fcs
 * @date 2020/12/27 13:40
 * @desc
 */
public interface CategoryService extends IService<Category> {
    CategoryDTO queryCategoryById(Long id);

    List<CategoryDTO> queryCategoryByIds(List<Long> ids);

    List<CategoryDTO> queryCategoryByPid(Long pid);

    List<CategoryDTO> queryCategoryByBrandId(Long id);

    Map<String,List<String>> loadCategory();

    //List<CategoryDTO> queryCategoryByBId(Long id);
}
